//
//  HelloWorldLayer.h
//  pipi
//
//  Created by zhao ys on 5/10/11.
//  Copyright __MyCompanyName__ 2011. All rights reserved.
//


// When you import this file, you import all the cocos2d classes
#import "cocos2d.h"

@interface PlayLayer : CCLayer
{
	CCSprite * _button_loud;
	CCSprite * _button_silent;
	
	CCProgressTimer * _pi_prog;
    CCProgressTimer * _silent_prog;
    CCSprite * _plane;
    CCLabelTTF * _label;

	
    float _pi_max;
    float _silent_max;
	
    float _fly_sep_max;
    float _fly_sep_min;
    float _fly_sep_left;
	
    float _pi_inc_speed;
    float _silent_inc_speed;
    float _loud_dec_speed;
    float _silent_dec_speed;
	
    float _pi;
    float _silent_left;
	
    float _loud;
    float _silent;
    float _score;
	
}

// returns a CCScene that contains the HelloWorldLayer as the only child
+(CCScene *) scene;
@end
